﻿using BigEgg.Framework.Applications.ViewModels;
using FMStudio.Templates.DesignTool.Application.Services;
using FMStudio.Templates.DesignTool.Application.Views;
using System.ComponentModel.Composition;

namespace FMStudio.Templates.DesignTool.Application.ViewModels
{
    [Export]
    public class StartViewModel : ViewModel<IStartView>
    {
        #region Fields
        private readonly IFileService fileService;
        #endregion

        [ImportingConstructor]
        public StartViewModel(IStartView view, IFileService fileService)
            : base(view)
        {
            this.fileService = fileService;
        }

        #region Properties
        public IFileService FileService { get { return this.fileService; } }
        #endregion
    }
}
